package cc.mrbird.febs.material.service;

import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.material.domain.MaterialLibrary;
import cc.mrbird.febs.system.domain.Test;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author mg
 */
public interface IMaterialLibraryService extends IService<MaterialLibrary> {


        List<MaterialLibrary> findTests();

        /**
         * 批量插入
         * @param list List<Test>
         */
        void batchInsert(List<MaterialLibrary> list);

    IPage<MaterialLibrary> findMaterialLibrary(MaterialLibrary materialLibrary, QueryRequest queryRequest);
}
